{% extends "base.html" %}

{% block title %}{{ application_name }} - {{ page.name|escape }} - Edit{% endblock %}

{% block body %}
  <form action="/edit" method="post">
    <div>
      <h2>Title:</h2>
      <input name="article_id" type="hidden" value="{{article.key}}"/>
      <input name="title" value="{{article.title}}"/>
      <textarea rows="10" cols="50" id="content" style="width: 100%; height: 400px" name="content">
         {{article.content}}
      </textarea>
    </div>
    <div class="buttons">
      <span class="item"><input style="font-weight: bold" type="submit" value="Save"/></span>
    </div>
  </form>
{% endblock %}